package com.cn.wanxi.service;

import com.cn.wanxi.model.NavModel;

import java.util.List;

public class NavService {
    public List<NavModel> getNavList(){
        NavModel navModel = new NavModel();
        for (int i = 0; i < navModel.hrefs.length;i++) {
            NavModel nav = new NavModel();
            nav.setHref(navModel.hrefs[i]);
            nav.setTitle(navModel.titles[i]);
            navModel.list.add(nav);
        }
        return navModel.list;
    }
}
